home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
boss_c.arc
/
PEEK.C
< prev
next >
Wrap
Text File
|
1987-06-04
|
268b
|
20 lines
/*
** Peek for BOSSDEMO (Microsoft C, Borland)
**
** MSC /Ze peek
**
*/
unsigned peek(iseg,ioff)
unsigned iseg,ioff;
{
int far *adr;
unsigned long seg,off;
seg=iseg;
off=ioff;
adr = (seg << 16) | off;
return (unsigned)(*adr);
}
/* End */